import  http =require( "http")
import  url=require("url")

import { HttpHandleAttr,IHandle } from "./handleManager";

@HttpHandleAttr("/test1")
class Handle_Test1 implements IHandle
{
    async onGet(query: import("querystring").ParsedUrlQuery, res: http.ServerResponse): Promise<void>
    {
        throw new Error("this is handle_test1 Get.");
    }   
    async onPost(req: http.IncomingMessage, res: http.ServerResponse): Promise<void>
    {
        throw new Error("this is handle_test1 Post.");
    }
}